# -*- coding:utf-8 -*-
# 2022/12/15 19:43
#  资源类
from flask_restful import Resource
from comment.models.user import User


#  我们定义的测试的资源类
class Shopping_User(Resource):
    def __get__(self):
        #  这里的代码可能会用到user模型类
        return {'hello','测试'}

    def post(self):
        return {'laobai','测试'}